package com.fs.base.command;

import org.apache.log4j.Logger;
import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * @author TiddlerCJ
 * @desc 定时更新缓存数据
 */

@Component
@Order(value=1)
public class Command1 implements CommandLineRunner{
	private Logger log = Logger.getLogger(Command1.class); 

	public void run(String... args) throws Exception {
		log.info(" cache Data success! ");
	}
	
}
